package com.suli.multimedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suli.multimedia.entity.UserTicket;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SuLi
 * @since 2022-04-04
 */
public interface UserTicketService extends IService<UserTicket> {

    Map<String,Object> getUserTicketList( String status,String userId,Long limit,Long page);

    /**
     * 修改门票状态
     * @param ticketId 门票id
     * @param status 状态
     */
    void updateStatus(String ticketId, String status);

    /**
     * 退票
     *
     */
    boolean returnTicketOne(UserTicket userTicket);
}
